/**
 * @description: 「微信二维码」弹窗
 * @author: Ruan Jiazhen
 * @date: 2024-03-13 14:53:22
 **/

Component({
  properties: {
    qrCodeUrl: {
      type: String,
      value: '/subpkg/assets/img/qr-code.jpg',
    },
  },
  data: {
    isShow: false,
  },
  methods: {
    open() {
      this.setData({
        isShow: true,
      });
    },
    close() {
      this.setData({
        isShow: false,
      });
    },
    onClose() {
      this.close();
    },
  },
});
